﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Templates_News_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

<style>
    #accordion h3{cursor:pointer;}
    #accordion h3 span{
        background:URL(../Images/accordion_arrows.gif) no-repeat right 3px;
        padding:0 12px 0 0;
    }
    #accordion h3.current span{background-position:right -33px;}
        
    #accordion .paine{height:235px; overflow:hidden;}
</style>
<script type="text/javascript">
        $(document).ready(function() {

        initjScrollPane();


        $(".scrollable").scrollable({
            vertical: true,
            mousewheel: true });
        
        $("#accordion").tabs("#accordion div.pane", { tabs: 'h3', effect: 'slide', initialIndex: 1 });	
        });
    </script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="contentTop" Runat="Server">
    <div id="top" class="news clearfix" style="">
        <div>
            <div id="leadArticle">
                <div class="col lcol">
                    <h3>Press Releases</h3>
                    
                    <div style="border-bottom:1px solid #9BBEB0; margin-bottom:10px;">
                        <a style="display:block" href="#a1" id="lnkA1" >
                            <acms:TextContentControlDisplay runat="server" ControlName="NewsTitle1" ID="NewsTitle1" />
                        </a>
                        <a style="display:block" href="#a2" id="lnkA2" >
                            <acms:TextContentControlDisplay runat="server" ControlName="NewsTitle2" ID="TextContentControlDisplay3" />
                        </a>
                        <a style="display:block" href="#a3" id="lnkA3" >
                            <acms:TextContentControlDisplay runat="server" ControlName="NewsTitle3" ID="TextContentControlDisplay4" />
                        </a>
                    </div>
                    <div class="scroll-pane " style="height: 200px;">
                        <h2 id="a1"><acms:TextContentControlDisplay runat="server" ControlName="NewsTitle1" ID="TextContentControlDisplay5" /></h2>
                        <acms:HtmlContentControlDisplay ControlName="NewsCopy1" runat="server" ID="NewsCopy1" />
                        <h2 id="a2"><acms:TextContentControlDisplay runat="server" ControlName="NewsTitle2" ID="TextContentControlDisplay6" /></h2>
                        <acms:HtmlContentControlDisplay ControlName="NewsCopy2" runat="server" ID="NewsCopy2" />
                        <h2 id="a3"><acms:TextContentControlDisplay runat="server" ControlName="NewsTitle3" ID="TextContentControlDisplay7" /></h2>
                        <acms:HtmlContentControlDisplay ControlName="NewsCopy3" runat="server" ID="NewsCopy3" />
                    </div>
                
                    
                    
                  <%--  <acms:RelatedPostsContentControl ID="acmsRelatedPosts" CssClass="list" ControlName="PressReleaseDetail" runat="server">
                        <HeaderTemplate/>
                        <ItemTemplate>
                            <div class="item">
                                <h2><acms:PostDisplayName runat="server"/></h2>
                                <div class="scroll-pane " style="height: 110px;">
                                                                            
                                    <acms:PostSummary runat="server" />
                                    <acms:PdfContentControlDisplay CssClass="pdf" Target="_blank" ID="PdfContentControlDisplay1" Text="Read More" ControlName="PdfArticle" runat="server"/>
                                </div>
                                <acms:ImageContentControlDisplay ID="ImageContentControlDisplay1" ControlName="PdfImage" CssClass="pressReleaseImage" runat="server" />
                            </div>    
                        </ItemTemplate>
                        <FooterTemplate/>
                    </acms:RelatedPostsContentControl>--%>
        
        
                    <%--<h2><acms:TextContentControlDisplay ControlName="PressReleaseTitle" CssClass="pressReleaseTitle" runat="server" /> </h2>
                    <div class="scroll-pane " style="height: 115px;">
                        <acms:HtmlContentControlDisplay ControlName="PressReleaseCopy" CssClass="pressReleaseCopy" runat="server" />
                    </div>
                    <acms:ImageContentControlDisplay ControlName="PressReleaseImage" CssClass="pressReleaseImage" runat="server" />--%>
                    
                    <%--<a href="#" class=" moreInfo off">Read More</a>--%>
                </div>
                <div class="col rcol" >
                    <h3>Latest Video</h3>
                    <h2><acms:TextContentControlDisplay ID="TextContentControlDisplay1" ControlName="LatestVideoTitle" CssClass="pressReleaseTitle" runat="server" /> </h2>
                    <acms:HtmlContentControlDisplay ID="HtmlContentControlDisplay1" ControlName="LatestVideoCopy" CssClass="latestVideoCopy"  runat="server" />
                    <%--<acms:flash  FlashVideoContentDisplay ControlName="LatestVideoFile" CssClass="latestVideoFile" runat="server" />--%>
                    <%--<p>The  Camcopter  S-100 represents  a very different class in terms  of both  size and  weight. Its  MTOW is just  200 kg (versus over 1,400 kg).</p>--%>
                    
                    <acms:FlashVideoContentControl  Width="330" Height="210" runat="server" ControlName="LatestVideoFile" FlashPlayerUrl="~/Flash/FlashVideo.swf" AllowFullScreen="true" FlashSkinUrl="~/Flash/Custom.swf"/>
                    
                    <%--<img src="~/Images/dbImages/news_video.jpg" runat="server" />--%>
                    
              <%--      <acms:Hyperlink runat="server" CssClass="readmore" NavigateUrl="~/Press-Area/Videos" Text="View All Videos">--%>
                </div>
            </div>
            <div style="width:200px; float:right" >
                <div id="accordion">
                    <h3><span>View Latest News</span></h3>
                    <div class="pane" style="display:block">
                        <acms:HtmlContentControlDisplay ControlName="LatestNews" ID="LatestNews" runat="server" />
                        <%--<ul class="bullet">
                            <acms:SimpleRepeater ID="dlPressReleases" DataSourceID="dsPressReleases" AllowPaging="false"  runat="server">
                                <ItemTemplate>
                                <li>
                                    <asp:HyperLink runat="server" CssClass="pdf" Target="_blank" ID="lnkPdf" Text="asdf"/>
                                    <%--<acms:PdfContentControlDisplay ID="PdfContentControlDisplay1" Target="_blank" CssClass="pdfDownload" runat="server" ControlName="PdfArticle" />
                                </li>
                                </ItemTemplate>
                    
                            </acms:SimpleRepeater>
                        </ul>
                        <acms:PostDataSource ID="dsPressReleases" runat="server" />
                      
                        <acms:PostLink ID="PostLink1" runat="server" Path="~/Press-Area/Press-Releases" CssClass="readmore" Text="View All Press Releases"/>--%>
                        
                    </div>
                    
                    <h3><span>View Next Exhibition</span></h3>
                    <div class="pane" style="display:none"> 
                        
                            <acms:SimpleRepeater ID="dlExhibitions" DataSourceID="dsExhibitions" AllowPaging="false"  runat="server">
                                <ItemTemplate>
                            
                                    <h2><acms:PostDisplayName runat="server" /></h2>
                                    <p><acms:TextContentControlDisplay ControlName="Venue" runat="server" /></p>
                                    <p><acms:TextContentControlDisplay ID="TextContentControlDisplay2" ControlName="Date" runat="server" /></p>
                                    <%--<asp:HyperLink runat="server" CssClass="pdf" Target="_blank" ID="lnkPdf" Text="asdf"/>--%>
                                    <%--<acms:PdfContentControlDisplay ID="PdfContentControlDisplay1" Target="_blank" CssClass="pdfDownload" runat="server" ControlName="PdfArticle" />--%>
                        
                                </ItemTemplate>
                    
                            </acms:SimpleRepeater>
                        
                        <acms:PostDataSource ID="dsExhibitions" runat="server" />
                            
                        <acms:PostLink runat="server" Path="~/Exhibitions/Trade-Shows" CssClass="readmore" Text="View All Tradeshows"/>
                    </div>    
                </div>
            </div>
        </div> 
        <div id="subNav" style="" class="clearfix">
            <ul id="navApplications">
                <acms:SimpleRepeater ID="dlNavSiblings" DataSourceID="dsSibling" AllowPaging="false" runat="server">
                    <ItemTemplate>
                            <li runat="server" id="navLi" class="sibling" >
                                <asp:HyperLink ID="lnkNav" CssClass="navApplication" NavigateUrl="#" runat="server" />
                            </li>
                        </ItemTemplate>
                    </acms:SimpleRepeater>
            </ul>
            
            
            <ul id="navDetails">
               
            </ul>
        </div>
        <acms:PostDataSource ID="dsSibling" runat="server" />

        <div id="pageTitle" class="clearfix">
            <h1>News</h1>
            
        </div>
    </div>
</asp:Content>

<%--<asp:Content ID="Content3" ContentPlaceHolderID="ContentBase" Runat="Server" Visible="false"></asp:Content>--%>
         

